import Vue from 'vue'
import Router from 'vue-router'

Vue.use(Router)

/* Layout */
import Layout from '@/layout'

/**
 * Note: sub-menu only appear when route children.length >= 1
 * Detail see: https://panjiachen.github.io/vue-element-admin-site/guide/essentials/router-and-nav.html
 *
 * hidden: true                   if set true, item will not show in the sidebar(default is false)
 * alwaysShow: true               if set true, will always show the root menu
 *                                if not set alwaysShow, when item has more than one children route,
 *                                it will becomes nested mode, otherwise not show the root menu
 * redirect: noRedirect           if set noRedirect will no redirect in the breadcrumb
 * name:'router-name'             the name is used by <keep-alive> (must set!!!)
 * meta : {
    roles: ['admin','editor']    control the page roles (you can set multiple roles)
    title: 'title'               the name show in sidebar and breadcrumb (recommend set)
    icon: 'svg-name'             the icon show in the sidebar
    breadcrumb: false            if set false, the item will hidden in breadcrumb(default is true)
    activeMenu: '/example/list'  if set path, the sidebar will highlight the path you set
  }
 */

/**
 * constantRoutes
 * a base page that does not have permission requirements
 * all roles can be accessed
 */

export const constantRoutes = [{
    path: '/login',
    component: () =>
        import ('@/views/login/index'),
    hidden: true
}, {
    path: '/404',
    component: () =>
        import ('@/views/404'),
    hidden: true
}, {
    path: '/',
    component: () =>
        import ('@/views/mainIndex'),
    hidden: true
}, ]

export const asyncRoutes = [
    /* ********* 预备阶段 ***********/



    {
        path: '/fksqtc',
        component: Layout,
        redirect: 'noRedirect',
        name: '前期测绘机构选取',
        meta: { title: '前期测绘机构选取', icon: 'example', roles: ["前期测绘机构选取"] },
        subName:'信息录入,信息查看,附件资料',
        alwaysShow: true,
        flag:false,
        children: [{
                path: 'fksqtc',
                redirect: 'noRedirect',
                meta: { title: '区县', roles: ["前期测绘机构选取信息录入（区县）"] },
                component: () =>
                    import ('@/views/project/fksqtc/enterIndex'),
                children:[{
                        path: '/fksqtc/infoEntry',
                        name: 'EARLY_MAPPING_ENTERPRISE_SELECT',
                        component: () =>
                            import ('@/views/project/fksqtc/infoEntry'),
                        meta: { title: '前期测绘机构选取信息录入',},
                    },
                ]
            },{
                path: 'fksqtc',
                redirect: 'noRedirect',
                meta: { title: '市中心', roles: ["前期测绘机构选取信息查看（市中心）"] },
                component: () =>
                    import ('@/views/project/fksqtc/enterIndex'),
                children:[
                    {
                        path: '/fksqtc/infoView',
                        name: 'EARLY_MAPPING_ENTERPRISE_SELECT',
                        component: () =>
                            import ('@/views/project/fksqtc/infoView'),
                        meta: { title: '前期测绘机构选取信息查看',},
                    },
                ]
            },{
                path: 'fksqtc',
                redirect: 'noRedirect',
                meta: { title: '附件资料', roles: ["前期测绘机构选取信息查看（市中心）"] },
                component: () =>
                    import ('@/views/project/fksqtc/enterIndex'),
                children:[
                    {
                        path: '/fksqtc/attachment',
                        name: '前期测绘机构选取附件资料',
                        component: () =>
                            import ('@/views/project/fksqtc/attachment'),
                        meta: { title: '附件资料',},
                    },

                ]
            }]
        },
    {
        path: '/siteSurveyEarlyStage',
        component: Layout,
        redirect: 'noRedirect',
        name: '现场踏勘与前期测绘',
        meta: { title: '现场踏勘与前期测绘', icon: 'example', roles: ["现场踏勘与前期测绘"] },
        subName:'成果录入,成果初审,综合监管',
        flag:false,
        children: [{
                path:'siteSurveyEarlyStage',
                redirect: 'noRedirect',
                meta: { title: '区县', roles: ["现场踏勘与前期测绘市中心"] },
                component: () =>
                    import ('@/views/project/siteSurveyEarlyStage/enterIndex'),
                children:[
                    {
                        path: '/siteSurveyEarlyStage/insertEarlyStage',
                        name: 'EARLY_MAPPING_RESULT_SAVE',
                        component: () =>
                            import ('@/views/project/siteSurveyEarlyStage/insertEarlyStage'),
                        meta: { title: '前期测绘成果录入', roles: ["前期测绘成果录入（区县）"] }
                    },
                    {
                        path: '/siteSurveyEarlyStage/qianqichjgcs',
                        name: 'EARLY_MAPPING_RESULT_FIRST_AUDIT',
                        redirect: '/siteSurveyEarlyStage/qianqichjgcs/list',
                        component: () =>
                            import ('@/views/project/siteSurveyEarlyStage/qianqichjgcs/index'),
                        meta: { title: '前期测绘成果初审', roles: ["前期测绘成果初审（区县）1"] },
                        children: [{
                                path: '/siteSurveyEarlyStage/qianqichjgcs/list',
                                name: '前期测绘成果初审（区县）2',
                                component: () =>
                                    import ('@/views/project/siteSurveyEarlyStage/qianqichjgcs/list/index'),
                                meta: { title: '前期测绘成果初审', activeMenu: "/siteSurveyEarlyStage/qianqichjgcs", breadcrumb: false },
                                hidden: true,
                            },
                            {
                                path: '/siteSurveyEarlyStage/qianqichjgcs/detail',
                                name: '前期测绘成果初审详情2',
                                component: () =>
                                    import ('@/views/project/siteSurveyEarlyStage/qianqichjgcs/detail/index'),
                                meta: { title: '前期测绘成果初审详情', activeMenu: "/siteSurveyEarlyStage/qianqichjgcs" },
                                hidden: true,
                            }
                        ]
                    },
                    {
                        path: '/siteSurveyEarlyStage/earlyStageAchievementOpinion',
                        name: 'EARLY_MAPPING_RESULT_FIRST_AUDIT_FIRST_OPINION',
                        component: () =>
                            import ('@/views/project/siteSurveyEarlyStage/earlyStageAchievementOpinion'),
                        meta: { title: '前期测绘审成果初审意见', roles: ["前期测绘审成果初审意见（区县）1"] }
                    },
                    {
                        path: '/siteSurveyEarlyStage/earlyStageAchievementOpinion',
                        name: 'EARLY_MAPPING_RESULT_FIRST_AUDIT_SECOND_OPINION',
                        component: () =>
                            import ('@/views/project/siteSurveyEarlyStage/earlyStageAchievementOpinion'),
                        meta: { title: '前期测绘审成果初审意见', roles: ["前期测绘审成果初审意见（区县）2"] }
                    },
                ]
            },{
                path:'siteSurveyEarlyStage',
                redirect: 'noRedirect',
                meta: { title: '综合监管信息' },
                component: () =>
                    import ('@/views/project/siteSurveyEarlyStage/enterIndex'),
                children:[
                    {
                        path: '/siteSurveyEarlyStage/supervisionInformation',
                        name: '综合监管信息1',
                        redirect: '/siteSurveyEarlyStage/supervisionInformation/list',
                        component: () =>
                            import ('@/views/project/siteSurveyEarlyStage/supervisionInformation/index'),
                        meta: { title: '综合监管信息' },
                        children: [{
                                path: '/siteSurveyEarlyStage/supervisionInformation/list',
                                name: '综合监管信息2',
                                component: () =>
                                    import ('@/views/project/siteSurveyEarlyStage/supervisionInformation/list/index'),
                                meta: { title: '综合监管信息', activeMenu: "/siteSurveyEarlyStage/supervisionInformation", breadcrumb: false },
                                hidden: true,
                            },
                            {
                                path: '/siteSurveyEarlyStage/supervisionInformation/detail',
                                name: '综合监管信息详情3',
                                component: () =>
                                    import ('@/views/project/siteSurveyEarlyStage/supervisionInformation/detail/index'),
                                meta: { title: '综合监管信息详情', activeMenu: "/siteSurveyEarlyStage/supervisionInformation" },
                                hidden: true,
                            }
                        ]
                    },
                ]
            },{
                path:'siteSurveyEarlyStage',
                redirect: 'noRedirect',
                meta: { title: '归档资料' },
                component: () =>
                    import ('@/views/project/siteSurveyEarlyStage/enterIndex'),
                children:[
                    {
                        path: '/siteSurveyEarlyStage/archiveFiles/earlyStageAchievementOpinion1',
                        name: '前期测绘审成果初审意见1',
                        component: () =>
                            import ('@/views/project/siteSurveyEarlyStage/archiveFiles/earlyStageAchievementOpinion1'),
                        meta: { title: '前期测绘审成果初审意见' }
                    }, {
                        path: '/siteSurveyEarlyStage/archiveFiles/increaseAndDecrease',
                        name: '前期测绘审减（增）信息表',
                        component: () =>
                            import ('@/views/project/siteSurveyEarlyStage/archiveFiles/increaseAndDecrease'),
                        meta: { title: '前期测绘审减（增）信息表' }
                    }
                ]
            },{
                path:'siteSurveyEarlyStage',
                redirect: 'noRedirect',
                meta: { title: '附件资料' },
                component: () =>
                    import ('@/views/project/siteSurveyEarlyStage/enterIndex'),
                children:[
                    {
                        path: '/siteSurveyEarlyStag/attachment',
                        name: '现场踏勘与前期测绘附件资料',
                        component: () =>
                            import ('@/views/project/siteSurveyEarlyStage/attachment'),
                        meta: { title: '附件资料' }
                    },
                ]
            },
        ]
    },
    {
        path: '/earlyStageAchievementRecheck',
        component: Layout,
        redirect: 'noRedirect',
        name: '前期测绘成果复审',
        meta: { title: '前期测绘成果复审', icon: 'example', roles: ["前期测绘成果复审"] },
        subName:'成果复审,复审意见,综合监管',
        flag:false,
        children: [
            {
                path:'earlyStageAchievementRecheck',
                redirect: 'noRedirect',
                meta: { title: '区县', roles: ["前期测绘成果复审"] },
                component: () =>
                    import ('@/views/project/earlyStageAchievementRecheck/enterIndex'),
                children:[
                    {
                        path: '/earlyStageAchievementRecheck/index',
                        name: 'EARLY_MAPPING_RESULT_SECOND_AUDIT',
                        component: () =>
                            import ('@/views/project/earlyStageAchievementRecheck/index'),
                        meta: { title: '前期测绘成果复审', roles: ["前期测绘成果复审（市中心）"] }
                    },{
                        path: '/earlyStageAchievementRecheck/indexLook',
                        name: 'EARLY_MAPPING_RESULT_SECOND_AUDIT',
                        component: () =>
                            import ('@/views/project/earlyStageAchievementRecheck/qianqichjgcs/list/index'),
                        meta: { title: '前期测绘成果复审结果查看', roles: ["前期测绘成果复审（市中心）查看"] }
                    },{
                        hidden: true,
                        path: '/earlyStageAchievementRecheck/qianqichjgcs',
                        name: '前期测绘成果复审（辅助审查）1',
                        redirect: '/earlyStageAchievementRecheck/qianqichjgcs/list',
                        component: () =>
                            import ('@/views/project/earlyStageAchievementRecheck/qianqichjgcs/index'),
                        meta: { title: '前期测绘成果复审', activeMenu: "/earlyStageAchievementRecheck/index" },
                        children: [{
                                path: '/earlyStageAchievementRecheck/qianqichjgcs/list',
                                name: '前期测绘成果复审（辅助审查）2',
                                component: () =>
                                    import ('@/views/project/earlyStageAchievementRecheck/qianqichjgcs/list/index'),
                                meta: { title: '前期测绘成果复审', activeMenu: "/earlyStageAchievementRecheck/index", breadcrumb: false, },
                                hidden: true,
                            },
                            {
                                path: '/earlyStageAchievementRecheck/qianqichjgcs/detail',
                                name: '前期测绘成果初审详情3',
                                component: () =>
                                    import ('@/views/project/earlyStageAchievementRecheck/qianqichjgcs/detail/index'),
                                meta: { title: '前期测绘成果复审', activeMenu: "/earlyStageAchievementRecheck/index" },
                                hidden: true,
                            }
                        ]
                    },{
                        path: '/earlyStageAchievementRecheck/earlyStageChengGuoFuShenYj',
                        name: 'EARLY_MAPPING_RESULT_SECOND_AUDIT_FIRST_OPINION',
                        component: () =>
                            import ('@/views/project/earlyStageAchievementRecheck/earlyStageChengGuoFuShenYj'),
                        meta: { title: '前期测绘成果复审意见', roles: ["前期测绘成果复审意见（经办人）"] }
                    },
                    {
                        path: '/earlyStageAchievementRecheck/earlyStageChengGuoFuShenYj1',
                        name: 'EARLY_MAPPING_RESULT_SECOND_AUDIT_SECOND_OPINION',
                        component: () =>
                            import ('@/views/project/earlyStageAchievementRecheck/earlyStageChengGuoFuShenYj'),
                        meta: { title: '前期测绘成果复审意见', roles: ["前期测绘成果复审意见（负责人）"] }
                    },
                ]
            },{
                path:'earlyStageAchievementRecheck',
                redirect: 'noRedirect',
                meta: { title: '综合监管信息', },
                component: () =>
                    import ('@/views/project/earlyStageAchievementRecheck/enterIndex'),
                children:[
                    {
                        path: '/earlyStageAchievementRecheck/supervisionInformation',
                        name: '综合监管信息3',
                        redirect: '/earlyStageAchievementRecheck/supervisionInformation/list',
                        component: () =>
                            import ('@/views/project/earlyStageAchievementRecheck/supervisionInformation/index'),
                        meta: { title: '综合监管信息' },
                        children: [{
                                path: '/earlyStageAchievementRecheck/supervisionInformation/list',
                                name: '综合监管信息4',
                                component: () =>
                                    import ('@/views/project/earlyStageAchievementRecheck/supervisionInformation/list/index'),
                                meta: { title: '综合监管信息', activeMenu: "/earlyStageAchievementRecheck/supervisionInformation", breadcrumb: false, },
                                hidden: true,
                            },
                            {
                                path: '/earlyStageAchievementRecheck/supervisionInformation/detail',
                                name: '综合监管信息详情2',
                                component: () =>
                                    import ('@/views/project/earlyStageAchievementRecheck/supervisionInformation/detail/index'),
                                meta: { title: '综合监管信息详情', activeMenu: "/earlyStageAchievementRecheck/supervisionInformation" },
                                hidden: true,
                            }
                        ]
                    },
                ]
            },{
                path:'earlyStageAchievementRecheck',
                redirect: 'noRedirect',
                meta: { title: '归档资料', },
                component: () =>
                    import ('@/views/project/earlyStageAchievementRecheck/enterIndex'),
                children:[
                    {
                        path: '/earlyStageAchievementRecheck/archiveFiles',
                        component: () =>
                            import ('@/views/project/earlyStageAchievementRecheck/archiveFiles/earlyStageChengGuoFuShenYjB'),
                        // redirect: '/archiveFiles/earlyStageAchievementOpinion1',
                        name: '归档资料4',
                        meta: { title: '归档资料' },
                        alwaysShow: true,
                        children: [{
                            path: '/earlyStageAchievementRecheck/archiveFiles/earlyStageChengGuoFuShenYjB',
                            name: '前期测绘成果复审意见表',
                            component: () =>
                                import ('@/views/project/earlyStageAchievementRecheck/archiveFiles/earlyStageChengGuoFuShenYjB'),
                            meta: { title: '前期测绘成果复审意见表' }
                        }],
                    },
                ]
            },
        ]
    },
    {
        path: '/xmgz',
        component: Layout,
        redirect: 'noRedirect',
        name: '项目告知',
        meta: { title: '项目告知', icon: 'example', roles: ["项目告知"] },
        alwaysShow: true,
        subName:'项目告知,综合监管',
        flag:false,
        children: [{
                path:'xmgz',
                redirect: 'noRedirect',
                meta: { title: '项目告知', roles: ["项目告知"] },
                component: () =>
                    import ('@/views/project/xmgz/enterIndex'),
                children:[
                    {
                        path: '/xmgz/regulatoryInfo',
                        name: '项目告知1',
                        component: () =>
                            import ('@/views/project/xmgz/regulatoryInfo'),
                        meta: { title: '告知信息', roles: ["项目告知"] }
                    },
                ]
            },{
                path:'xmgz',
                redirect: 'noRedirect',
                meta: { title: '综合监管信息', },
                component: () =>
                    import ('@/views/project/xmgz/enterIndex'),
                children:[
                    {
                        path: '/xmgz/regulatoryInfoData',
                        name: '综合监管信息5',
                        component: () =>
                            import ('@/views/project/xmgz/regulatoryInfoData'),
                        meta: { title: '综合监管信息', roles: ["项目告知"] }
                    }
                ]
            },
        ]
    },

    {
        path: '/xmzzSure',
        component: Layout,
        redirect: 'noRedirect',
        name: '项目组装确认',
        meta: { title: '项目组装确认', icon: 'example', roles: ["项目组装确认"] },
        alwaysShow: true,
        subName:'项目信息确认',
        flag:false,
        children: [{
                path:'xmzzSure',
                redirect: 'noRedirect',
                meta: { title: '项目信息确认', },
                component: () =>
                    import ('@/views/project/xmzzSure/enterIndex'),
                children:[
                    {
                        path: '/xmzzSure/infoSure',
                        name: 'PROJECT_CONFIRM_PACKAGE',
                        component: () =>
                            import ('@/views/project/xmzzSure/infoSure'),
                        meta: { title: '项目信息确认', roles: ["项目信息确认1"] }
                    }, {
                        path: '/xmzzSure/infoSure',
                        name: 'PROJECT_UPDATE_PACKAGE',
                        component: () =>
                            import ('@/views/project/xmzzSure/infoSure'),
                        meta: { title: '项目信息确认', roles: ["项目信息确认2"] }
                    }
                ]
            },
        ]
    },
    {
        path: '/ghsjyssfanzxq',
        component: Layout,
        redirect: 'noRedirect',
        name: 'CONSTRUCTING_PLAN_ENTERPRISE_SELECT',
        meta: { title: '编制单位选取', icon: 'example', roles: ["规划设计与实施方案编制单位选取"] },
        subName:'信息录入,信息查看,附件资料',
        flag:false,
        children: [{
                path:'ghsjyssfanzxq',
                redirect: 'noRedirect',
                meta: { title: '编制单位选取', },
                component: () =>
                    import ('@/views/project/ghsjyssfanzxq/enterIndex'),
                children:[
                    {
                        path: '/ghsjyssfanzxq/unitEntry',
                        name: 'CONSTRUCTING_PLAN_ENTERPRISE_SELECT',
                        component: () =>
                            import ('@/views/project/ghsjyssfanzxq/unitEntry'),
                        meta: { title: '单位选取信息录入' }
                    },
                    {
                        path: '/ghsjyssfanzxq/unitView',
                        name: '单位选取信息查看(市中心)',
                        component: () =>
                            import ('@/views/project/ghsjyssfanzxq/unitView'),
                        meta: { title: '单位选取信息查看' }
                    },
                ]
            },{
                path:'ghsjyssfanzxq',
                redirect: 'noRedirect',
                meta: { title: '附件资料', },
                component: () =>
                    import ('@/views/project/ghsjyssfanzxq/enterIndex'),
                children:[
                    {
                        path: '/ghsjyssfanzxq/unitAttachment',
                        name: '附件资料14',
                        component: () =>
                            import ('@/views/project/ghsjyssfanzxq/unitAttachment'),
                        meta: { title: '附件资料' }
                    }
                ]
            },
            
        ]
    },

    {
        path: '/ghsjAndssfaPingShen',
        component: Layout,
        redirect: 'noRedirect',
        name: '规划设计与实施方案评审',
        meta: { title: '方案评审', icon: 'example', roles: ["规划设计与实施方案评审"] },
        subName: "成果录入,辅助审查,审查意见",
        flag:false,
        children: [{
                path:'ghsjAndssfaPingShen',
                redirect: 'noRedirect',
                meta: { title: '区县', roles: ["规划设计与实施方案评审"] },
                component: () =>
                    import ('@/views/project/ghsjAndssfaPingShen/enterIndex'),
                children:[
                    {
                        path: '/ghsjAndssfaPingShen/insert',
                        name: 'CONSTRUCTING_PLAN_RESULT_SAVE',
                        component: () =>
                            import ('@/views/project/ghsjAndssfaPingShen/insert'),
                        meta: { title: '成果录入', roles: ["规划设计与实施方案成果录入（区县）"] }
                    },{
                        path: '/ghsjAndssfaPingShen/qianqichjgcs',
                        name: 'CONSTRUCTING_PLAN_RESULT_FIRST_AUDIT',
                        redirect: '/ghsjAndssfaPingShen/qianqichjgcs/list',
                        component: () =>
                            import ('@/views/project/ghsjAndssfaPingShen/qianqichjgcs/index'),
                        meta: { title: '成果辅助审查', roles: ["规划设计与实施方案成果辅助审查（区县）1"] },
                        children: [{
                                path: '/ghsjAndssfaPingShen/qianqichjgcs/list',
                                name: '规划设计与实施方案成果辅助审查（区县）2',
                                component: () =>
                                    import ('@/views/project/ghsjAndssfaPingShen/qianqichjgcs/list/index'),
                                meta: { title: '成果辅助审查', activeMenu: "/ghsjAndssfaPingShen/qianqichjgcs", breadcrumb: false, },
                                hidden: true,
                            },
                            {
                                path: '/ghsjAndssfaPingShen/qianqichjgcs/detail',
                                name: '前期测绘成果初审详情4',
                                component: () =>
                                    import ('@/views/project/ghsjAndssfaPingShen/qianqichjgcs/detail/index'),
                                meta: { title: '前期测绘成果初审详情', activeMenu: "/ghsjAndssfaPingShen/qianqichjgcs" },
                                hidden: true,
                            }
                        ]
                    },{
                        path: '/ghsjAndssfaPingShen/shenChaYjQuxianCenter',
                        name: 'CONSTRUCTING_PLAN_RESULT_FIRST_AUDIT_FIRST_OPINION',
                        component: () =>
                            import ('@/views/project/ghsjAndssfaPingShen/shenChaYjQuxianCenter'),
                        meta: { title: '审查意见', roles: ["规划设计与实施方案审查区县审查意见（区县中心）"] }
                    },
                    {
                        path: '/ghsjAndssfaPingShen/shenChaYj',
                        name: 'CONSTRUCTING_PLAN_RESULT_FIRST_AUDIT_SECOND_OPINION',
                        component: () =>
                            import ('@/views/project/ghsjAndssfaPingShen/shenChaYj'),
                        meta: { title: '审查意见', roles: ["规划设计与实施方案审查区县审查意见（区县局）"] }
                    },
                ]
            },{
                path:'ghsjAndssfaPingShen',
                redirect: 'noRedirect',
                meta: { title: '综合监管信息', },
                component: () =>
                    import ('@/views/project/ghsjAndssfaPingShen/enterIndex'),
                children:[
                    {
                        path: '/ghsjAndssfaPingShen/supervisionInformation',
                        name: '综合监管信息6',
                        component: () =>
                            import ('@/views/project/ghsjAndssfaPingShen/supervisionInformation'),
                        meta: { title: '综合监管信息' }
                    },
                ]
            },{
                path:'ghsjAndssfaPingShen',
                redirect: 'noRedirect',
                meta: { title: '归档资料', },
                component: () =>
                    import ('@/views/project/ghsjAndssfaPingShen/enterIndex'),
                children:[
                    {
                        path: '/ghsjAndssfaPingShen/archiveFiles',
                        component: () =>
                            import ('@/views/project/ghsjAndssfaPingShen/archiveFiles/index'),
                        // redirect: '/archiveFiles/earlyStageAchievementOpinion1',
                        name: '归档资料1',
                        alwaysShow: true,
                        meta: { title: '归档资料' },
                        children: [{
                            path: '/ghsjAndssfaPingShen/archiveFiles/earlyStageChengGuoFuShenYjB',
                            name: '规划设计与实施方案意见表',
                            component: () =>
                                import ('@/views/project/ghsjAndssfaPingShen/archiveFiles/earlyStageChengGuoFuShenYjB'),
                            meta: { title: '规划设计与实施方案意见表' }
                        }],
                    },
                ]
            },{
                path:'ghsjAndssfaPingShen',
                redirect: 'noRedirect',
                meta: { title: '附件资料', },
                component: () =>
                    import ('@/views/project/ghsjAndssfaPingShen/enterIndex'),
                children:[
                    {
                        path: '/ghsjAndssfaPingShen/attachment',
                        name: '附件资料11',
                        component: () =>
                            import ('@/views/project/ghsjAndssfaPingShen/attachment'),
                        meta: { title: '附件资料' }
                    },
                ]
            },
        ]
    },
    {
        path: '/entryRecordApplication',
        component: Layout,
        redirect: 'noRedirect',
        name: '入库备案申报',
        meta: {
            title: '入库备案申报',
            icon: 'example',
            roles: ["入库备案申报"]
        },
        subName: "信息录入,审查意见",
        flag:false,
        children: [{
                path:'entryRecordApplication',
                redirect: 'noRedirect',
                meta: { title: '区县',roles: ["入库备案申报"] },
                component: () =>
                    import ('@/views/project/entryRecordApplication/enterIndex'),
                children:[
                    {
                        path: '/entryRecordApplication/declareInfoEntry',
                        component: () =>
                            import ('@/views/project/entryRecordApplication/declareInfoEntry'), // Parent router-view
                        name: 'STORING_RECORD_SAVE',
                        meta: { title: '备案申报信息录入', roles: ['备案申报信息录入（区县）'] },
                    },{
                        path: '/entryRecordApplication/reviewOpinions',
                        component: () =>
                            import ('@/views/project/entryRecordApplication/reviewOpinions'),
                        name: 'STORING_RECORD_FIRST_AUDIT_FIRST_OPINION',
                        meta: { title: '备案申报区县审查意见', roles: ['备案申报区县审查意见(区县中心)'] },
                    },{
                        path: '/entryRecordApplication/reviewOpinionsQuxianju',
                        component: () =>
                            import ('@/views/project/entryRecordApplication/reviewOpinionsQuxianju'),
                        name: 'STORING_RECORD_FIRST_AUDIT_SECOND_OPINION',
                        meta: { title: '备案申报区县审查意见', roles: ['备案申报区县审查意见(区县局)'] },
                    },{
                        path: '/entryRecordApplication/uploadDeclareTable',
                        component: () =>
                            import ('@/views/project/entryRecordApplication/uploadDeclareTable'),
                        name: 'STORING_RECORD_APPLICATION_UPLOAD',
                        meta: { title: '上传入库备案申请表', roles: ['上传入库备案申请表'] }
                    },  
                ]
            },{
                path:'entryRecordApplication',
                redirect: 'noRedirect',
                meta: { title: '归档资料', },
                component: () =>
                    import ('@/views/project/entryRecordApplication/enterIndex'),
                children:[
                    {
                        path: '/entryRecordApplication/archiveData/entryApplicationTable',
                        name: '入库备案申请表1',
                        component: () =>
                            import ('@/views/project/entryRecordApplication/archiveData/entryApplicationTable'),
                        meta: { title: '入库备案申请表' }
                    }
                ]
            },{
                path:'entryRecordApplication',
                redirect: 'noRedirect',
                meta: { title: '附件资料', },
                component: () =>
                    import ('@/views/project/entryRecordApplication/enterIndex'),
                children:[
                    {
                        path: '/entryRecordApplication/entryAttachment',
                        component: () =>
                            import ('@/views/project/entryRecordApplication/entryAttachment'),
                        meta: { title: '附件资料' }
                    }
                ]
            },
        ]
    },
    {
        path: '/entryRecordSee',
        component: Layout,
        redirect: 'noRedirect',
        name: '入库备案审查',
        meta: {
            title: '入库备案审查',
            icon: 'example',
            roles: ["入库备案审查"]
        },
        subName: "要件审查,审查意见",
        flag:false,
        children: [{
                path:'entryRecordSee',
                redirect: 'noRedirect',
                meta: { title: '市中心',roles: ["入库备案审查"] },
                component: () =>
                    import ('@/views/project/entryRecordSee/enterIndex'),
                children:[
                    {
                        path: '/entryRecordSee/qianqichjgcs',
                        name: 'STORING_RECORD_SECOND_AUDIT',
                        redirect: '/entryRecordSee/qianqichjgcs/list',
                        component: () =>
                            import ('@/views/project/entryRecordSee/qianqichjgcs/index'),
                        meta: { title: '入库备案审查', roles: ["入库备案审查1"] },
                        children: [{
                                path: '/entryRecordSee/qianqichjgcs/list',
                                name: '入库备案审查2',
                                component: () =>
                                    import ('@/views/project/entryRecordSee/qianqichjgcs/list/index'),
                                meta: { title: '入库备案审查', activeMenu: "/entryRecordSee/qianqichjgcs", breadcrumb: false, },
                                hidden: true,
                            },{
                                path: '/entryRecordSee/qianqichjgcs/detail',
                                name: '入库备案审查详情',
                                component: () =>
                                    import ('@/views/project/entryRecordSee/qianqichjgcs/detail/index'),
                                meta: { title: '入库备案审查详情', activeMenu: "/entryRecordSee/qianqichjgcs" },
                                hidden: true,
                            },
                        ]
                    },{
                        path: '/entryRecordSee/entryCityCenter',
                        component: () =>
                            import ('@/views/project/entryRecordSee/entryCityCenter'), // Parent router-view
                        name: 'STORING_RECORD_SECOND_AUDIT_FIRST_OPINION',
                        meta: { title: '入库备案要件审查', roles: ['入库备案要件审查（经办人）'] },
                    },
                    {
                        path: '/entryRecordSee/entryCityCenterChushiren',
                        component: () =>
                            import ('@/views/project/entryRecordSee/entryCityCenterChushiren'), // Parent router-view
                        name: 'STORING_RECORD_SECOND_AUDIT_SECOND_OPINION',
                        meta: { title: '入库备案要件审查', roles: ['入库备案要件审查（处室负责人）'] },
                    },
                    {
                        path: '/entryRecordSee/entryCityCenterFenguanLeader',
                        component: () =>
                            import ('@/views/project/entryRecordSee/entryCityCenterFenguanLeader'), // Parent router-view
                        name: 'STORING_RECORD_SECOND_AUDIT_THIRD_OPINION',
                        meta: { title: '入库备案要件审查', roles: ['入库备案要件审查（中心分管领导）'] },
                    },
                    {
                        path: '/entryRecordSee/entryOptionsUrban',
                        component: () =>
                            import ('@/views/project/entryRecordSee/entryOptionsUrban'),
                        name: 'STORING_RECORD_THIRD_AUDIT_FIRST_OPINION',
                        meta: { title: '入库备案审查意见', roles: ['入库备案审查意见（耕保经办人）'] }
                    },
                    {
                        path: '/entryRecordSee/entryOptionsUrbanShenheren',
                        component: () =>
                            import ('@/views/project/entryRecordSee/entryOptionsUrbanShenheren'),
                        name: 'STORING_RECORD_THIRD_AUDIT_SECOND_OPINION',
                        meta: { title: '入库备案审查意见', roles: ['入库备案审查意见（耕保审核人）'] }
                    },
                    {
                        path: '/entryRecordSee/entryOptionsUrbanJuLeader',
                        component: () =>
                            import ('@/views/project/entryRecordSee/entryOptionsUrbanJuLeader'),
                        name: 'STORING_RECORD_THIRD_AUDIT_THIRD_OPINION',
                        meta: { title: '入库备案审查意见', roles: ['入库备案审查意见（局领导）'] }
                    },
                ]
            },{
                path:'entryRecordSee',
                redirect: 'noRedirect',
                meta: { title: '综合监管信息', },
                component: () =>
                    import ('@/views/project/entryRecordSee/enterIndex'),
                children:[
                    {
                        path: '/entryRecordSee/supervisionInformation',
                        name: '综合监管信息3',
                        redirect: '/entryRecordSee/supervisionInformation/list',
                        component: () =>
                            import ('@/views/project/entryRecordSee/supervisionInformation/index'),
                        meta: { title: '综合监管信息' },
                        children: [{
                                path: '/entryRecordSee/supervisionInformation/list',
                                name: '综合监管信息',
                                component: () =>
                                    import ('@/views/project/entryRecordSee/supervisionInformation/list/index'),
                                meta: { title: '综合监管信息', activeMenu: "/entryRecordSee/supervisionInformation", breadcrumb: false, },
                                hidden: true,
                            },
                            {
                                path: '/entryRecordSee/supervisionInformation/detail',
                                name: '综合监管信息详情',
                                component: () =>
                                    import ('@/views/project/entryRecordSee/supervisionInformation/detail/index'),
                                meta: { title: '综合监管信息详情', activeMenu: "/entryRecordSee/supervisionInformation" },
                                hidden: true,
                            }
                        ]
                    },
                ]
            },{
                path:'entryRecordApplication',
                redirect: 'noRedirect',
                meta: { title: '归档资料', },
                component: () =>
                    import ('@/views/project/entryRecordSee/enterIndex'),
                children:[
                    {
                        path: '/entryRecordSee/archiveFiles/optionsTable',
                        name: '入库备案要件审查意见表',
                        component: () =>
                            import ('@/views/project/entryRecordSee/archiveFiles/optionsTable'),
                        meta: { title: '入库备案要件审查意见表' }
                    }, {
                        path: '/entryRecordSee/archiveFiles/adviseNote',
                        name: '入库备案通知书',
                        component: () =>
                            import ('@/views/project/entryRecordSee/archiveFiles/adviseNote'),
                        meta: { title: '入库备案通知书' }
                    }
                ]
            },{
                path:'entryRecordApplication',
                redirect: 'noRedirect',
                meta: { title: '附件资料', },
                component: () =>
                    import ('@/views/project/entryRecordSee/enterIndex'),
                children:[
                    {
                        path: '/entryRecordSee/entrySeeAttachment',
                        component: () =>
                            import ('@/views/project/entryRecordSee/entrySeeAttachment'),
                        meta: { title: '附件资料' }
                    }
                ]
            },
        ]
    },

    /* ******* 实施阶段********** */

    {
        path: '/fkEntrust',
        component: Layout,
        redirect: 'noRedirect',
        name: '复垦委托',
        meta: { title: '复垦委托', icon: 'example', roles: ["复垦委托"] },
        subName:'信息录入',
        flag:false,
        children: [{
                path:'fkEntrust',
                redirect: 'noRedirect',
                meta: { title: '区县', roles: ["复垦委托"] },
                component: () =>
                    import ('@/views/implementation/fkEntrust/enterIndex'),
                children:[
                    {
                        path: '/fkEntrust/fkEntrustEntry',
                        name: 'RECLAIM_AGENCY_AGREEMENT_UPLOAD',
                        component: () =>
                            import ('@/views/implementation/fkEntrust/fkEntrustEntry'),
                        meta: { title: '复垦委托信息录入', roles: ["复垦委托信息录入"] }
                    },
                ]
            },{
                path:'fkEntrust',
                redirect: 'noRedirect',
                meta: { title: '归档资料', },
                component: () =>
                    import ('@/views/implementation/fkEntrust/enterIndex'),
                children:[
                    {
                        path: '/fkEntrust/fkEntrustAgreement',
                        name: '复垦委托协议',
                        component: () =>
                            import ('@/views/implementation/fkEntrust/fileData/fkEntrustAgreement'),
                        meta: { title: '复垦委托协议' }
                    }
                ]
            },
            // {
            //     path: '/fkEntrust/comprehensive',
            //     name: '综合监管信息7',
            //     component: () =>
            //         import ('@/views/implementation/fkEntrust/comprehensive'),
            //     meta: { title: '综合监管信息' }
            // },
            
            // {
            //     path: '/fkEntrust/fkAttachment',
            //     name: '附件资料15',
            //     component: () =>
            //         import ('@/views/implementation/fkEntrust/fkAttachment'),
            //     meta: { title: '附件资料' }
            // }
        ]
    },
    {
        path: '/implementationUnitChoose',
        component: Layout,
        redirect: 'noRedirect',
        name: '实施单位选取',
        meta: { title: '实施单位选取', icon: 'example', roles: ["实施单位选取"] },
        subName:'实施单位,监理单位',
        flag:false,
        children: [{
                path:'implementationUnitChoose',
                redirect: 'noRedirect',
                meta: { title: '区县', roles: ["实施单位选取"] },
                component: () =>
                    import ('@/views/implementation/implementationUnitChoose/enterIndex'),
                children:[
                    {
                        path: '/implementationUnitChoose/manageEntry',
                        name: 'SUPERVISING_ENTERPRISE_SELECT',
                        component: () =>
                            import ('@/views/implementation/implementationUnitChoose/manageEntry'),
                        meta: { title: '监理单位信息录入', roles: ["监理单位信息录入（区县）"] }
                    },{
                        path: '/implementationUnitChoose/implementationEntry',
                        name: 'CONSTRUCTING_ENTERPRISE_SELECT',
                        component: () =>
                            import ('@/views/implementation/implementationUnitChoose/implementationEntry'),
                        meta: { title: '实施单位信息录入', roles: ["实施单位信息录入（区县）"] }
                    }, {
                        path: '/implementationUnitChoose/implementationSee',
                        name: '实施单位选取信息查看',
                        component: () =>
                            import ('@/views/implementation/implementationUnitChoose/implementationSee'),
                        meta: { title: '实施单位选取信息查看' }
                    }, {
                        path: '/implementationUnitChoose/manageSee',
                        name: '监理单位选取信息查看',
                        component: () =>
                            import ('@/views/implementation/implementationUnitChoose/manageSee'),
                        meta: { title: '监理单位选取信息查看' }
                    },
                ]
            }, 
            // {
            //     path: '/implementationUnitChoose/implementationAttachment',
            //     name: '附件资料16',
            //     component: () =>
            //         import('@/views/implementation/implementationUnitChoose/implementationAttachment'),
            //     meta: { title: '附件资料' }
            // }
        ]
    }, {
        path: '/projectImplementation',
        component: Layout,
        redirect: 'noRedirect',
        name: '项目实施',
        meta: { title: '项目实施', icon: 'example', roles: ["项目实施"] },
        subName:'变更信息,综合监管',
        flag:false,
        children: [{
                path:'projectImplementation',
                redirect: 'noRedirect',
                meta: { title: '区县', roles: ["项目变更信息录入（区县）"] },
                component: () =>
                    import ('@/views/implementation/projectImplementation/enterIndex'),
                children:[
                    {
                        path: '/projectImplementation/projectEntry',
                        name: 'PROJECT_UPDATE_INFO_SAVE',
                        component: () =>
                            import ('@/views/implementation/projectImplementation/projectEntry'),
                        meta: { title: '项目变更信息录入', roles: ["项目变更信息录入（区县）"] }
                    },
                ]
            },{
                path:'projectImplementation',
                redirect: 'noRedirect',
                meta: { title: '市中心', },
                component: () =>
                    import ('@/views/implementation/projectImplementation/enterIndex'),
                children:[
                    {
                        path: '/projectImplementation/projectSee',
                        name: '项目变更信息查看（市中心）',
                        component: () =>
                            import ('@/views/implementation/projectImplementation/projectSee'),
                        meta: { title: '项目变更信息查看' }
                    },
                ]
            },{
                path:'projectImplementation',
                redirect: 'noRedirect',
                meta: { title: '综合监管信息', },
                component: () =>
                    import ('@/views/implementation/projectImplementation/enterIndex'),
                children:[
                    {
                        path: '/projectImplementation/supervisionInformation',
                        name: '综合监管信息1',
                        redirect: '/projectImplementation/supervisionInformation/list',
                        component: () =>
                            import('@/views/implementation/projectImplementation/supervisionInformation/index'),
                        meta: { title: '综合监管信息' },
                        children: [
                            {
                                path: '/projectImplementation/supervisionInformation/list',
                                name: '综合监管信息2',
                                component: () =>
                                    import('@/views/implementation/projectImplementation/supervisionInformation/list/index'),
                                meta: { title: '综合监管信息', activeMenu: "/projectImplementation/supervisionInformation", breadcrumb: false, },
                                hidden: true,
                            },
                            {
                                path: '/projectImplementation/supervisionInformation/detail',
                                name: '综合监管信息详情3',
                                component: () =>
                                    import('@/views/implementation/projectImplementation/supervisionInformation/detail/index'),
                                meta: { title: '综合监管信息详情', activeMenu: "/projectImplementation/supervisionInformation" },
                                hidden: true,
                            }
                        ]
                    },
                ]
            },{
                path:'projectImplementation',
                redirect: 'noRedirect',
                meta: { title: '附件资料', },
                component: () =>
                    import ('@/views/implementation/projectImplementation/enterIndex'),
                children:[
                    {
                        path: '/projectImplementation/projectAttachment',
                        name: '附件资料17',
                        component: () =>
                            import ('@/views/implementation/projectImplementation/projectAttachment'),
                        meta: { title: '附件资料' }
                    },
                ]
            },
            
            
            //  {
            //     path: '/projectImplementation/zongheInfo',
            //     name: '综合监管信息',
            //     component: () =>
            //         import ('@/views/implementation/projectImplementation/zongheInfo'),
            //     meta: { title: '综合监管信息' }
            // },
            //  {
            //     path: '/projectImplementation/moveInfo',
            //     name: '移动巡查信息',
            //     component: () =>
            //         import('@/views/implementation/projectImplementation/moveInfo'),
            //     meta: { title: '移动巡查信息' }
            // },
            // {
            //     path: 'fileData',
            //     component: () =>
            //         import ('@/views/implementation/jianguanYanshou/fileData/jianguanOpinionTable'),
            //     // redirect: '/archiveFiles/earlyStageAchievementOpinion1',
            //     name: '归档资料3',
            //     meta: { title: '归档资料', },
            //     alwaysShow: true,
            //     children: [{
            //         path: 'jianguanOpinionTable',
            //         name: '监理验收意见表',
            //         component: () =>
            //             import ('@/views/implementation/jianguanYanshou/fileData/jianguanOpinionTable'),
            //         meta: { title: '监理验收意见表' }
            //     },{
            //         path: 'stlfTestOpinionTable',
            //         name: '施工自验意见表',
            //         component: () =>
            //             import ('@/views/implementation/implementationSelfTest/fileData/stlfTestOpinionTable'),
            //         meta: { title: '施工自验意见表', }
            //     }],
            // },
        ]
    },

    {
        path: '/implementationSelfTest',
        component: Layout,
        redirect: 'noRedirect',
        name: '施工自验',
        meta: { title: '施工自验', icon: 'example', roles:["施工自验"] },
        subName:'综合监管,施工自检',
        flag:false,
        children: [{
                path:'implementationSelfTest',
                redirect: 'noRedirect',
                meta: { title: '综合监管信息' },
                component: () =>
                    import ('@/views/implementation/implementationSelfTest/enterIndex'),
                children:[
                    {
                        path: '/implementationSelfTest/supervisionInformation',
                        name: '综合监管信息1',
                        redirect: '/implementationSelfTest/supervisionInformation/list',
                        component: () =>
                            import('@/views/implementation/implementationSelfTest/supervisionInformation/index'),
                        meta: { title: '综合监管信息' },
                        children: [
                            {
                                path: '/implementationSelfTest/supervisionInformation/list',
                                name: '综合监管信息2',
                                component: () =>
                                    import('@/views/implementation/implementationSelfTest/supervisionInformation/list/index'),
                                meta: { title: '综合监管信息', activeMenu: "/implementationSelfTest/supervisionInformation", breadcrumb: false, },
                                hidden: true,
                            },
                            {
                                path: '/implementationSelfTest/supervisionInformation/detail',
                                name: '综合监管信息详情3',
                                component: () =>
                                    import('@/views/implementation/implementationSelfTest/supervisionInformation/detail/index'),
                                meta: { title: '综合监管信息详情', activeMenu: "/implementationSelfTest/supervisionInformation" },
                                hidden: true,
                            }
                        ]
                    },
                ]
            },{
                path:'implementationSelfTest',
                redirect: 'noRedirect',
                meta: { title: '归档资料', },
                component: () =>
                    import ('@/views/implementation/implementationSelfTest/enterIndex'),
                children:[
                    {
                        path: '/implementationSelfTest/fileData/stlfTestOpinionTable',
                        name: '施工自验意见表',
                        component: () =>
                            import ('@/views/implementation/implementationSelfTest/fileData/stlfTestOpinionTable'),
                        meta: { title: '施工自验意见表', }
                    }
                ]
            },
        ]
    },
    {
        path: '/jianguanYanshou',
        component: Layout,
        redirect: 'noRedirect',
        name: '监理验收',
        meta: { title: '监理验收', icon: 'example', roles:["监理验收"] },
        subName:'综合监管,监理验收',
        flag:false,
        children: [{
                path:'jianguanYanshou',
                redirect: 'noRedirect',
                meta: { title: '综合监管信息', },
                component: () =>
                    import ('@/views/implementation/jianguanYanshou/enterIndex'),
                children:[
                    {
                        path: '/jianguanYanshou/supervisionInformation',
                        name: '综合监管信息1',
                        redirect: '/jianguanYanshou/supervisionInformation/list',
                        component: () =>
                            import('@/views/implementation/jianguanYanshou/supervisionInformation/index'),
                        meta: { title: '综合监管信息' },
                        children: [
                            {
                                path: '/jianguanYanshou/supervisionInformation/list',
                                name: '综合监管信息2',
                                component: () =>
                                    import('@/views/implementation/jianguanYanshou/supervisionInformation/list/index'),
                                meta: { title: '综合监管信息', activeMenu: "/jianguanYanshou/supervisionInformation", breadcrumb: false, },
                                hidden: true,
                            },
                            {
                                path: '/jianguanYanshou/supervisionInformation/detail',
                                name: '综合监管信息详情3',
                                component: () =>
                                    import('@/views/implementation/jianguanYanshou/supervisionInformation/detail/index'),
                                meta: { title: '综合监管信息详情', activeMenu: "/jianguanYanshou/supervisionInformation" },
                                hidden: true,
                            }
                        ]
                    },
                ]
            },{
                path:'jianguanYanshou',
                redirect: 'noRedirect',
                meta: { title: '归档资料', },
                component: () =>
                    import ('@/views/implementation/jianguanYanshou/enterIndex'),
                children:[
                    {
                        path: '/jianguanYanshou/fileData/jianguanOpinionTable',
                        name: '监理验收意见表',
                        component: () =>
                            import ('@/views/implementation/jianguanYanshou/fileData/jianguanOpinionTable'),
                        meta: { title: '监理验收意见表', }
                    }
                ]
            },
        ]
    },
    {
        path: '/jungongcehuijigouChoose',
        component: Layout,
        redirect: 'noRedirect',
        name: '竣工测绘机构选取',
        meta: { title: '竣工测绘机构选取', icon: 'example', roles: ["竣工测绘机构选取"] },
        subName:'信息录入,信息查看,附件资料',
        flag:false,
        children: [{
                path:'jungongcehuijigouChoose',
                redirect: 'noRedirect',
                meta: { title: '区县', roles: ["竣工测绘单位信息录入（区县）"] },
                component: () =>
                    import ('@/views/implementation/jungongcehuijigouChoose/enterIndex'),
                children:[
                    {
                        path: '/jungongcehuijigouChoose/jungongUnitInfoEntry',
                        name: 'LATER_MAPPING_ENTERPRISE_SELECT',
                        component: () =>
                            import ('@/views/implementation/jungongcehuijigouChoose/jungongUnitInfoEntry'),
                        meta: { title: '竣工测绘单位信息录入', roles: ["竣工测绘单位信息录入（区县）"] }
                    },
                ]
            },{
                path:'jungongcehuijigouChoose',
                redirect: 'noRedirect',
                meta: { title: '市中心', },
                component: () =>
                    import ('@/views/implementation/jungongcehuijigouChoose/enterIndex'),
                children:[
                    {
                        path: '/jungongcehuijigouChoose/jungonginfoSee',
                        name: '竣工测绘机构选取信息查看（市中心）',
                        component: () =>
                            import ('@/views/implementation/jungongcehuijigouChoose/jungonginfoSee'),
                        meta: { title: '竣工测绘机构选取信息查看' }
                    },
                ]
            },{
                path:'jungongcehuijigouChoose',
                redirect: 'noRedirect',
                meta: { title: '附件资料', },
                component: () =>
                    import ('@/views/implementation/jungongcehuijigouChoose/enterIndex'),
                children:[
                    {
                        path: '/jungongcehuijigouChoose/jungongAttachment',
                        name: '附件资料18',
                        component: () =>
                            import ('@/views/implementation/jungongcehuijigouChoose/jungongAttachment'),
                        meta: { title: '附件资料' }
                    },
                ]
            },
        ]
    }, {
        path: '/jjgc',
        component: Layout,
        redirect: 'noRedirect',
        name: '竣工测绘',
        meta: { title: '竣工测绘', icon: 'example', roles: ["竣工测绘"] },
        subName:'成功录入,成功初审,综合监管',
        flag:false,
        children: [{
                path:'jjgc',
                redirect: 'noRedirect',
                meta: { title: '区县', roles: ["竣工测绘"] },
                component: () =>
                    import ('@/views/implementation/jjgc/enterIndex'),
                children:[
                    {
                        path: '/jjgc/insertEarlyStage',
                        name: 'LATER_MAPPING_RESULT_SAVE',
                        component: () =>
                            import ('@/views/implementation/jjgc/insertEarlyStage'),
                        meta: { title: '竣工测绘成果录入', roles: ["竣工测绘成果录入（区县）"] }
                    },{
                        path: '/jjgc/qianqichjgcs',
                        name: 'LATER_MAPPING_RESULT_FIRST_AUDIT',
                        redirect: '/jjgc/qianqichjgcs/list',
                        component: () =>
                            import ('@/views/implementation/jjgc/qianqichjgcs/index'),
                        meta: { title: '竣工测绘成果初审', roles: ["竣工测绘成果初审（区县）1"] },
                        children: [{
                                path: '/jjgc/qianqichjgcs/list',
                                name: '竣工测绘成果初审（区县）2',
                                component: () =>
                                    import ('@/views/implementation/jjgc/qianqichjgcs/list/index'),
                                meta: { title: '竣工测绘成果初审', activeMenu: "/jjgc/qianqichjgcs", breadcrumb: false, },
                                hidden: true,
                            },
                            {
                                path: '/jjgc/qianqichjgcs/detail',
                                name: '竣工测绘成果初审详情2',
                                component: () =>
                                    import ('@/views/implementation/jjgc/qianqichjgcs/detail/index'),
                                meta: { title: '竣工测绘成果初审详情', activeMenu: "/jjgc/qianqichjgcs" },
                                hidden: true,
                            }
                        ]
                    },
                ]
            },{
                path:'jjgc',
                redirect: 'noRedirect',
                meta: { title: '市中心', roles: ["竣工测绘"] },
                component: () =>
                    import ('@/views/implementation/jjgc/enterIndex'),
                children:[
                    {
                        path: '/jjgc/earlyStageAchievementOpinion',
                        name: 'LATER_MAPPING_RESULT_FIRST_AUDIT_FIRST_OPINION',
                        component: () =>
                            import ('@/views/implementation/jjgc/earlyStageAchievementOpinion'),
                        meta: { title: '竣工测绘成果初审意见', roles: ["竣工测绘成果初审意见（区县）"] }
                    },
                    {
                        path: '/jjgc/earlyStageAchievementOpinion1',
                        name: 'LATER_MAPPING_RESULT_FIRST_AUDIT_SECOND_OPINION',
                        component: () =>
                            import ('@/views/implementation/jjgc/earlyStageAchievementOpinion'),
                        meta: { title: '竣工测绘成果初审意见', icon: 'tree', roles: ["竣工测绘成果初审意见（市中心）"] }
                    },
                ]
            },{
                path:'jjgc',
                redirect: 'noRedirect',
                meta: { title: '综合监管信息', },
                component: () =>
                    import ('@/views/implementation/jjgc/enterIndex'),
                children:[
                    {
                        path: '/jjgc/supervisionInformation',
                        name: '综合监管信息15',
                        redirect: '/jjgc/supervisionInformation/list',
                        component: () =>
                            import ('@/views/implementation/jjgc/supervisionInformation/index'),
                        meta: { title: '综合监管信息' },
                        children: [{
                                path: '/jjgc/supervisionInformation/list',
                                name: '综合监管信息14',
                                component: () =>
                                    import ('@/views/implementation/jjgc/supervisionInformation/list/index'),
                                meta: { title: '综合监管信息', activeMenu: "/jjgc/supervisionInformation", breadcrumb: false, },
                                hidden: true,
                            },
                            {
                                path: '/jjgc/supervisionInformation/detail',
                                name: '综合监管信息详情1',
                                component: () =>
                                    import ('@/views/implementation/jjgc/supervisionInformation/detail/index'),
                                meta: { title: '综合监管信息详情', activeMenu: "/jjgc/supervisionInformation" },
                                hidden: true,
                            }
                        ]
                    },
                ]
            },{
                path:'jjgc',
                redirect: 'noRedirect',
                meta: { title: '归档资料' },
                component: () =>
                    import ('@/views/implementation/jjgc/enterIndex'),
                children:[
                    {
                        path: '/jjgc/archiveFiles/earlyStageAchievementOpinion1',
                        name: '竣工测绘初审意见表',
                        component: () =>
                            import ('@/views/implementation/jjgc/archiveFiles/earlyStageAchievementOpinion1'),
                        meta: { title: '竣工测绘初审意见表' }
                    }, {
                        path: '/jjgc/archiveFiles/increaseAndDecrease',
                        name: '竣工测绘审减（增）信息表',
                        component: () =>
                            import ('@/views/implementation/jjgc/archiveFiles/increaseAndDecrease'),
                        meta: { title: '竣工测绘审减（增）信息表' }
                    }
                ]
            },{
                path:'jjgc',
                redirect: 'noRedirect',
                meta: { title: '附件资料' },
                component: () =>
                    import ('@/views/implementation/jjgc/enterIndex'),
                children:[
                    {
                        path: '/jjgc/attachment',
                        name: '附件资料13',
                        component: () =>
                            import ('@/views/implementation/jjgc/attachment'),
                        meta: { title: '附件资料' }
                    },
                ]
            },
            
        ]
    },
    {
        path: '/jungongcehuiResultFuShen',
        component: Layout,
        redirect: 'noRedirect',
        name: '竣工测绘成果复审',
        meta: { title: '竣工测绘成果复审', icon: 'example', roles: ["竣工测绘成果复审"] },
        subName:'成果复审,复审意见',
        flag:false,
        children: [{
                path:'jungongcehuiResultFuShen',
                redirect: 'noRedirect',
                meta: { title: '市中心', roles: ["竣工测绘成果复审"] },
                component: () =>
                    import ('@/views/implementation/jungongcehuiResultFuShen/enterIndex'),
                children:[
                    {
                        path: '/jungongcehuiResultFuShen/jungongFuShen',
                        name: 'LATER_MAPPING_RESULT_SECOND_AUDIT',
                        component: () =>
                            import ('@/views/implementation/jungongcehuiResultFuShen/jungongFuShen'),
                        meta: { title: '竣工测绘成果复审', roles: ["竣工测绘成果复审（市中心）1"] }
                    },{
                        path: '/jungongcehuiResultFuShen/jungongFuShenLook',
                        name: 'LATER_MAPPING_RESULT_SECOND_AUDIT',
                        component: () =>
                            import ('@/views/implementation/jungongcehuiResultFuShen/qianqichjgcs/list/index'),
                        meta: { title: '竣工测绘成果复审结果查看', roles: ["竣工测绘成果复审（市中心）1查看"] }
                    },{
                        hidden: true,
                        path: '/jungongcehuiResultFuShen/qianqichjgcs',
                        name: '竣工测绘成果复审（辅助审查）',
                        redirect: '/jungongcehuiResultFuShen/qianqichjgcs/list',
                        component: () =>
                            import ('@/views/implementation/jungongcehuiResultFuShen/qianqichjgcs/index'),
                        meta: { title: '竣工测绘成果复审', activeMenu: "/jungongcehuiResultFuShen/jungongFuShen", roles: ['竣工测绘成果复审（市中心）1'] },
                        children: [{
                                path: '/jungongcehuiResultFuShen/qianqichjgcs/list',
                                name: '竣工测绘成果复审（辅助审查）2',
                                component: () =>
                                    import ('@/views/implementation/jungongcehuiResultFuShen/qianqichjgcs/list/index'),
                                meta: { title: '竣工测绘成果复审', activeMenu: "/jungongcehuiResultFuShen/jungongFuShen", breadcrumb: false, },
                                hidden: true,
                            },
                            {
                                path: '/jungongcehuiResultFuShen/qianqichjgcs/detail',
                                name: '竣工测绘成果辅助审查详情',
                                component: () =>
                                    import ('@/views/implementation/jungongcehuiResultFuShen/qianqichjgcs/detail/index'),
                                meta: { title: '竣工测绘成果辅助审查详情', activeMenu: "/jungongcehuiResultFuShen/jungongFuShen" },
                                hidden: true,
                            }
                        ]
                    },
                    {
                        path: '/jungongcehuiResultFuShen/jungongOpinion',
                        name: 'LATER_MAPPING_RESULT_SECOND_AUDIT_FIRST_OPINION',
                        component: () =>
                            import ('@/views/implementation/jungongcehuiResultFuShen/jungongOpinion'),
                        meta: { title: '竣工测绘成果复审意见', roles: ["竣工测绘成果复审意见1"] }
                    },
                    {
                        path: '/jungongcehuiResultFuShen/jungongOpinion',
                        name: 'LATER_MAPPING_RESULT_SECOND_AUDIT_SECOND_OPINION',
                        component: () =>
                            import ('@/views/implementation/jungongcehuiResultFuShen/jungongOpinion'),
                        meta: { title: '竣工测绘成果复审意见', roles: ["竣工测绘成果复审意见2"] },
                    },
                ]
            },{
                path:'jungongcehuiResultFuShen',
                redirect: 'noRedirect',
                meta: { title: '综合监管信息' },
                component: () =>
                    import ('@/views/implementation/jungongcehuiResultFuShen/enterIndex'),
                children:[
                    {
                        path: '/jungongcehuiResultFuShen/supervisionInformation',
                        name: '综合监管信息10',
                        redirect: '/jungongcehuiResultFuShen/supervisionInformation/list',
                        component: () =>
                            import ('@/views/implementation/jungongcehuiResultFuShen/supervisionInformation/index'),
                        meta: { title: '综合监管信息' },
                        children: [{
                                path: '/jungongcehuiResultFuShen/supervisionInformation/list',
                                name: '综合监管信息16',
                                component: () =>
                                    import ('@/views/implementation/jungongcehuiResultFuShen/supervisionInformation/list/index'),
                                meta: { title: '综合监管信息', activeMenu: "/jungongcehuiResultFuShen/supervisionInformation", breadcrumb: false, },
                                hidden: true,
                            },
                            {
                                path: '/jungongcehuiResultFuShen/supervisionInformation/detail',
                                name: '综合监管信息详情4',
                                component: () =>
                                    import ('@/views/implementation/jungongcehuiResultFuShen/supervisionInformation/detail/index'),
                                meta: { title: '综合监管信息详情', activeMenu: "/jungongcehuiResultFuShen/supervisionInformation" },
                                hidden: true,
                            }
                        ]
                    },
                ]
            },{
                path:'jungongcehuiResultFuShen',
                redirect: 'noRedirect',
                meta: { title: '归档资料' },
                component: () =>
                    import ('@/views/implementation/jungongcehuiResultFuShen/enterIndex'),
                children:[
                    {
                        path: '/jungongcehuiResultFuShen/fileDataindex',
                        name: '竣工测绘成果复审意见表',
                        component: () =>
                            import ('@/views/implementation/jungongcehuiResultFuShen/fileData/index'),
                        meta: { title: '竣工测绘成果复审意见表' }
                    }
                ]
            },
            
            // {

            //     path: '/jungongcehuiResultFuShen/jungongZongheInfo',
            //     name: '综合监管信息10',
            //     component: () =>
            //         import ('@/views/implementation/jungongcehuiResultFuShen/jungongZongheInfo'),
            //     meta: { title: '综合监管信息' }
            // },
            // {
            //     path: 'fileData',
            //     component: () =>
            //         import ('@/views/implementation/jungongcehuiResultFuShen/fileData/index'),
            //     name: '归档资料4',
            //     meta: { title: '归档资料' },
            //     alwaysShow: true,
            //     children: []
            // }

        ]
    }, {
        path: '/quxianzongheYanshou',
        component: Layout,
        redirect: 'noRedirect',
        name: '区县综合验收',
        meta: { title: '区县综合验收', icon: 'example', roles: ["区县综合验收"] },
        subName:'验收信息录入,验收意见',
        flag:false,
        children: [{
                path:'quxianzongheYanshou',
                redirect: 'noRedirect',
                meta: { title: '区县', roles: ["区县综合验收"] },
                component: () =>
                    import ('@/views/implementation/quxianzongheYanshou/enterIndex'),
                children:[
                    {
                        path: '/quxianzongheYanshou/quxianEntry',
                        name: 'COMPLETING_RESULT_SAVE',
                        component: () =>
                            import ('@/views/implementation/quxianzongheYanshou/quxianEntry'),
                        meta: { title: '区县综合验收信息录入', roles: ["区县综合验收信息录入（区县）"] }
                    },{
                        path: '/quxianzongheYanshou/quxianOpinion',
                        name: 'COMPLETING_RESULT_FIRST_AUDIT_FIRST_OPINION',
                        component: () =>
                            import ('@/views/implementation/quxianzongheYanshou/quxianOpinion'),
                        meta: { title: '区县综合验收意见', roles: ["区县综合验收意见（区县整治机构意见）"] }
                    },{
                        path: '/quxianzongheYanshou/quxianOpinionQxGuotuOpinion',
                        name: 'COMPLETING_RESULT_FIRST_AUDIT_SECOND_OPINION',
                        component: () =>
                            import ('@/views/implementation/quxianzongheYanshou/quxianOpinionQxGuotuOpinion'),
                        meta: { title: '区县综合验收意见', roles: ["区县综合验收意见(区县国土资源行政主管部门意见)"] }
                    },
                ]
            },{
                path:'quxianzongheYanshou',
                redirect: 'noRedirect',
                meta: { title: '综合监管信息' },
                component: () =>
                    import ('@/views/implementation/quxianzongheYanshou/enterIndex'),
                children:[
                    {
                        path: '/quxianzongheYanshou/supervisionInformation',
                        name: '综合监管信息10',
                        redirect: '/quxianzongheYanshou/supervisionInformation/list',
                        component: () =>
                            import ('@/views/implementation/quxianzongheYanshou/supervisionInformation/index'),
                        meta: { title: '综合监管信息' },
                        children: [{
                                path: '/quxianzongheYanshou/supervisionInformation/list',
                                name: '综合监管信息16',
                                component: () =>
                                    import ('@/views/implementation/quxianzongheYanshou/supervisionInformation/list/index'),
                                meta: { title: '综合监管信息', activeMenu: "/quxianzongheYanshou/supervisionInformation", breadcrumb: false, },
                                hidden: true,
                            },
                            {
                                path: '/quxianzongheYanshou/supervisionInformation/detail',
                                name: '综合监管信息详情4',
                                component: () =>
                                    import ('@/views/implementation/quxianzongheYanshou/supervisionInformation/detail/index'),
                                meta: { title: '综合监管信息详情', activeMenu: "/quxianzongheYanshou/supervisionInformation" },
                                hidden: true,
                            }
                        ]
                    },
                ]
            },{
                path:'quxianzongheYanshou',
                redirect: 'noRedirect',
                meta: { title: '归档资料' },
                component: () =>
                    import ('@/views/implementation/quxianzongheYanshou/enterIndex'),
                children:[
                    {
                        path: '/quxianzongheYanshou/fileData/quxianYanshouOpinionTable',
                        name: '区县综合验收意见表',
                        component: () =>
                            import ('@/views/implementation/quxianzongheYanshou/fileData/quxianYanshouOpinionTable'),
                        meta: { title: '区县综合验收意见表' }
                    }
                ]
            },{
                path:'quxianzongheYanshou',
                redirect: 'noRedirect',
                meta: { title: '附件资料' },
                component: () =>
                    import ('@/views/implementation/quxianzongheYanshou/enterIndex'),
                children:[
                    {
                        path: '/quxianzongheYanshou/quxianAttachment',
                        name: '附件资料19',
                        component: () =>
                            import ('@/views/implementation/quxianzongheYanshou/quxianAttachment'),
                        meta: { title: '附件资料' }
                    }
                ]
            },
            // {
            //     path: '/quxianzongheYanshou/quxianZongheInfo',
            //     name: '综合监管信息11',
            //     component: () =>
            //         import ('@/views/implementation/quxianzongheYanshou/quxianZongheInfo'),
            //     meta: { title: '综合监管信息1' }
            // },
        ]
    },

    {
        path: '/jungongAreaGongshi',
        component: Layout,
        redirect: 'noRedirect',
        name: '竣工面积公示1',
        meta: { title: '竣工面积公示', icon: 'example',roles:["竣工面积公示"] },
        subName:'面积公式,综合监管,公示表',
        flag:false,
        children: [{
                path:'jungongAreaGongshi',
                redirect: 'noRedirect',
                meta: { title: '竣工面积',roles:["竣工面积公示"] },
                component: () =>
                    import ('@/views/implementation/jungongAreaGongshi/enterIndex'),
                children:[
                    {
                        path: '/jungongAreaGongshi/areaGongshi',
                        name: '竣工面积公示2',
                        component: () =>
                            import ('@/views/implementation/jungongAreaGongshi/areaGongshi'),
                        meta: { title: '竣工面积公示',roles:["竣工面积公示"] }
                    },
                ]
            },{
                path:'jungongAreaGongshi',
                redirect: 'noRedirect',
                meta: { title: '综合监管信息' },
                component: () =>
                    import ('@/views/implementation/jungongAreaGongshi/enterIndex'),
                children:[
                    {
                        path: '/jungongAreaGongshi/supervisionInformation',
                        name: '综合监管信息1',
                        redirect: '/jungongAreaGongshi/supervisionInformation/list',
                        component: () =>
                            import('@/views/implementation/jungongAreaGongshi/supervisionInformation/index'),
                        meta: { title: '综合监管信息' },
                        children: [
                            {
                                path: '/jungongAreaGongshi/supervisionInformation/list',
                                name: '综合监管信息2',
                                component: () =>
                                    import('@/views/implementation/jungongAreaGongshi/supervisionInformation/list/index'),
                                meta: { title: '综合监管信息', activeMenu: "/jungongAreaGongshi/supervisionInformation", breadcrumb: false, },
                                hidden: true,
                            },
                            {
                                path: '/jungongAreaGongshi/supervisionInformation/detail',
                                name: '综合监管信息详情3',
                                component: () =>
                                    import('@/views/implementation/jungongAreaGongshi/supervisionInformation/detail/index'),
                                meta: { title: '综合监管信息详情', activeMenu: "/jungongAreaGongshi/supervisionInformation" },
                                hidden: true,
                            }
                        ]
                    },
                ]
            },{
                path:'jungongAreaGongshi',
                redirect: 'noRedirect',
                meta: { title: '归档资料' },
                component: () =>
                    import ('@/views/implementation/jungongAreaGongshi/enterIndex'),
                children:[
                    {
                        path: '/jungongAreaGongshi/fileData/index',
                        name: '竣工面积公示表',
                        component: () =>
                            import ('@/views/implementation/jungongAreaGongshi/fileData/index'),
                        meta: { title: '竣工面积公示表' }
                    }
                ]
            },
            // {
            //     path: '/jungongAreaGongshi/areaZongheInfo',
            //     name: '综合监管信息12',
            //     component: () =>
            //         import ('@/views/implementation/jungongAreaGongshi/areaZongheInfo'),
            //     meta: { title: '综合监管信息' }
            // },
        ]
    },

    {
        path: '/hegezhengPeihao',
        component: Layout,
        redirect: 'noRedirect',
        name: '合格证配号',
        meta: { title: '合格证配号', icon: 'example', roles: ["合格证配号"] },
        subName:'配号申请,要件审查,审查意见',
        flag:false,
        children: [{
                path:'hegezhengPeihao',
                redirect: 'noRedirect',
                meta: { title: '区县', roles: ["合格证配号"] },
                component: () =>
                    import ('@/views/implementation/hegezhengPeihao/enterIndex'),
                children:[
                    {
                        path: '/hegezhengPeihao/hegezhengApplication',
                        name: 'QUALIFIED_CERTIFICATE_APPLICATION_SAVE',
                        component: () =>
                            import ('@/views/implementation/hegezhengPeihao/hegezhengApplication'),
                        meta: { title: '合格证配号申请', roles: ['合格证配号申请（区县）'] }
                    },{
                        path: '/hegezhengPeihao/qianqichjgcs',
                        name: 'QUALIFIED_CERTIFICATE_APPLICATION_SECOND_AUDIT',
                        redirect: '/hegezhengPeihao/qianqichjgcs/list',
                        component: () =>
                            import ('@/views/implementation/hegezhengPeihao/qianqichjgcs/index'),
                        meta: { title: '要件辅助审查', activeMenu: "/hegezhengPeihao/qianqichjgcs" },
                        children: [{
                                path: '/hegezhengPeihao/qianqichjgcs/list',
                                name: '要件辅助审查（辅助审查）2',
                                component: () =>
                                    import ('@/views/implementation/hegezhengPeihao/qianqichjgcs/list/index'),
                                meta: { title: '要件辅助审查', activeMenu: "/hegezhengPeihao/qianqichjgcs", breadcrumb: false, },
                                hidden: true,
                            },
                            {
                                path: '/hegezhengPeihao/qianqichjgcs/detail',
                                name: '要件辅助审查辅助审查详情',
                                component: () =>
                                    import ('@/views/implementation/hegezhengPeihao/qianqichjgcs/detail/index'),
                                meta: { title: '要件辅助审查辅助审查详情', activeMenu: "/hegezhengPeihao/qianqichjgcs" },
                                hidden: true,
                            }
                        ]
                    },{
                        path: '/hegezhengPeihao/shenchaAndWaiyeOpinion',
                        name: 'QUALIFIED_CERTIFICATE_APPLICATION_SECOND_AUDIT_FIRST_OPINION',
                        component: () =>
                            import ('@/views/implementation/hegezhengPeihao/shenchaAndWaiyeOpinion'),
                        meta: { title: '要件审查意见', roles: ['要件审查意见（经办人）'] }
                    },
                    {
                        path: '/hegezhengPeihao/shenchaAndWaiyeOpinionChushi',
                        name: 'QUALIFIED_CERTIFICATE_APPLICATION_SECOND_AUDIT_SECOND_OPINION',
                        component: () =>
                            import ('@/views/implementation/hegezhengPeihao/shenchaAndWaiyeOpinionChushi'),
                        meta: { title: '要件审查意见', roles: ['要件审查意见（处室负责人）'] }
                    },
                    {
                        path: '/hegezhengPeihao/shenchaAndWaiyeOpinionCenterleader',
                        name: 'QUALIFIED_CERTIFICATE_APPLICATION_SECOND_AUDIT_THIRD_OPINION',
                        component: () =>
                            import ('@/views/implementation/hegezhengPeihao/shenchaAndWaiyeOpinionCenterleader'),
                        meta: { title: '要件审查意见', roles: ['要件审查意见（中心分管领导）'] }
                    },
                    {
                        path: '/hegezhengPeihao/hegezhengShenpi',
                        name: 'QUALIFIED_CERTIFICATE_APPLICATION_THIRD_AUDIT_FIRST_OPINION',
                        component: () =>
                            import ('@/views/implementation/hegezhengPeihao/hegezhengShenpi'),
                        meta: { title: '合格证配号审批', roles: ["合格证配号审批（耕保处、市局）1"] }
                    },
                    {
                        path: '/hegezhengPeihao/hegezhengShenpi',
                        name: 'QUALIFIED_CERTIFICATE_APPLICATION_THIRD_AUDIT_SECOND_OPINION',
                        component: () =>
                            import ('@/views/implementation/hegezhengPeihao/hegezhengShenpi'),
                        meta: { title: '合格证配号审批', roles: ["合格证配号审批（耕保处、市局）2"] },
                    },
                    {
                        path: '/hegezhengPeihao/hegezhengShenpi',
                        name: 'QUALIFIED_CERTIFICATE_APPLICATION_THIRD_AUDIT_THIRD_OPINION',
                        component: () =>
                            import ('@/views/implementation/hegezhengPeihao/hegezhengShenpi'),
                        meta: { title: '合格证配号审批', roles: ["合格证配号审批（耕保处、市局）3"] },
                    },
                ]
            },{
                path:'hegezhengPeihao',
                redirect: 'noRedirect',
                meta: { title: '综合监管信息' },
                component: () =>
                    import ('@/views/implementation/hegezhengPeihao/enterIndex'),
                children:[
                    {
                        path: '/hegezhengPeihao/supervisionInformation',
                        name: '综合监管信息1',
                        redirect: '/hegezhengPeihao/supervisionInformation/list',
                        component: () =>
                            import ('@/views/implementation/hegezhengPeihao/supervisionInformation/index'),
                        meta: { title: '综合监管信息' },
                        children: [{
                                path: '/hegezhengPeihao/supervisionInformation/list',
                                name: '综合监管信息2',
                                component: () =>
                                    import ('@/views/implementation/hegezhengPeihao/supervisionInformation/list/index'),
                                meta: { title: '综合监管信息', activeMenu: "/hegezhengPeihao/supervisionInformation", breadcrumb: false },
                                hidden: true,
                            },
                            {
                                path: '/hegezhengPeihao/supervisionInformation/detail',
                                name: '综合监管信息详情3',
                                component: () =>
                                    import ('@/views/implementation/hegezhengPeihao/supervisionInformation/detail/index'),
                                meta: { title: '综合监管信息详情', activeMenu: "/hegezhengPeihao/supervisionInformation" },
                                hidden: true,
                            }
                        ]
                    },
                ]
            },{
                path:'hegezhengPeihao',
                redirect: 'noRedirect',
                meta: { title: '归档资料' },
                component: () =>
                    import ('@/views/implementation/hegezhengPeihao/enterIndex'),
                children:[
                    {
                        path: '/hegezhengPeihao/fileData/yaojianTable',
                        name: '要件审查意见表',
                        component: () =>
                            import ('@/views/implementation/hegezhengPeihao/fileData/yaojianTable'),
                        meta: { title: '要件审查意见表' }
                    }, {
                        path: '/hegezhengPeihao/fileData/shenpiTable',
                        name: '合格证配号申请审批表',
                        component: () =>
                            import ('@/views/implementation/hegezhengPeihao/fileData/shenpiTable'),
                        meta: { title: '合格证配号申请审批表' }
                    }
                ]
            },
            // {
            //     path: '/hegezhengPeihao/fuzhushencha',
            //     name: 'QUALIFIED_CERTIFICATE_APPLICATION_SECOND_AUDIT',
            //     component: () =>
            //         import ('@/views/implementation/hegezhengPeihao/fuzhushencha'),
            //     meta: { title: '要件辅助审查（市中心）', roles: ['要件辅助审查（市中心）'] }
            // },
            // {
            //     path: 'archiveFiles',
            //     component: () =>
            //         import ('@/views/project/entryRecordSee/archiveFiles/index'),
            //     name: '归档资料2',
            //     meta: { title: '归档资料' },
            //     children: [{
            //         path: 'optionsTable',
            //         name: '入库备案要件审查意见表',
            //         component: () =>
            //             import ('@/views/project/entryRecordSee/archiveFiles/optionsTable'),
            //         meta: { title: '入库备案要件审查意见表' }
            //     }, {
            //         path: 'adviseNote',
            //         name: '入库备案通知书',
            //         component: () =>
            //             import ('@/views/project/entryRecordSee/archiveFiles/adviseNote'),
            //         meta: { title: '入库备案通知书' }
            //     }],
            // },
        ]
    },

    // 404 page must be placed at the end !!!
    { path: '*', redirect: '/404', hidden: true }
]

const createRouter = () => new Router({
    // mode: 'history', // require service support
    scrollBehavior: () => ({ y: 0 }),
    routes: constantRoutes
})

const router = createRouter()

// Detail see: https://github.com/vuejs/vue-router/issues/1234#issuecomment-357941465
export function resetRouter() {
    const newRouter = createRouter()
    router.matcher = newRouter.matcher // reset router
}

export default router